#addnew
    datalist#states
        option(data-ng-repeat="t in states" value="{{t}}")
    datalist#tunnelTypes
        option(data-ng-repeat="t in tunnelTypes" value="{{t}}")
    datalist#levels
        option(data-ng-repeat="t in levels" value="{{t}}")
    #status-pane
        br
        .ui.message.warning 
            .header 注意事项:
            p 1. 如果你不明白每一项具体的含义,请不要做任何更改
            p 2. 单位和部门信息一般情况下请不要修改.
        br
        form.ui.form.user-info.segment(data-ng-submit="submit()")
            .ui.label.attached.left.top.red 项目属性
            .two.fields
                .field
                    label(for="state")
                        .fa.fa-tachometer.fa-1x 
                        span &nbsp;项目状态&nbsp;
                    input(type="text" name="state" list="states" data-ng-model="curPrj.prjState" required) 
                .field
                    label(for="tunnelType")
                        .fa.fa-sitemap.fa-1x 
                        span &nbsp;隧道类型&nbsp;
                    input(type="text" name="tunnelType" list="tunnelTypes" data-ng-model="curPrj.tunnelType" required) 
            .two.fields
                .field
                    label(for="level")
                        .fa.fa-sort-numeric-asc.fa-1x 
                        span &nbsp;等级&nbsp;
                    input(type="text" name="level" list="levels" data-ng-model="curPrj.prjLevel" required) 
                .field
                    label(for="corporation")
                        .fa.fa-building.fa-1x 
                        span &nbsp;承建单位&nbsp;
                    select.form-control(name="constructionCorp" data-ng-options="item.shortName as item.shortName for item in owners" data-ng-model="curPrj.constructionCorp" required) 
            .two.fields        
                .field
                    label(for="department")
                        .fa.fa-suitcase.fa-1x 
                        span &nbsp;作业部门&nbsp;
                    select.form-control(name="department" data-ng-options="item.name as item.name for item in constructionCorpItem.departments" data-ng-model="curPrj.department" required data-ng-change="corpChange()") 
                .field
                    label(for="owner")
                        .fa.fa-user.fa-1x 
                        span &nbsp;业主单位&nbsp;
                    select.form-control(name="owner" data-ng-options="item.shortName as item.shortName for item in owners" data-ng-model="curPrj.ownerCorp" required) 
            .div.horizontal-container
                label(for="show")
                    .fa.fa-eye.fa-1x 
                    span &nbsp;是否显示在地图上&nbsp;
                input(name="show" type="checkbox" data-ng-model="item.status") 
            .float.right.horizontal-container
                div(style="display:inline;font-size:14px;margin:0 8px;z-index:10;")
                    i.fa(data-ng-class="{'fa-circle-o-notch fa-spin':status==='uploading'}")
                    span.hint.green(data-ng-show="status==='succeeded'") 成功
                    span.hint.red(data-ng-show="status==='failed'") 失败 
                input.ui.tiny.green.button(type="submit",value="提  交",style="min-height:2px;")
